json.extract! purchase_order, :id, :po_number, :supplier, :date, :payment_term, :amount, :invoice_state, :invoice_no, :invoice_amount, :invoice_received_date, :amount_paid, :balance, :created_at, :updated_at
json.url purchase_order_url(purchase_order, format: :json)
